<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@page import="java.util.Date"%>

<div class="content"> <a style="float: right;" href="logout">logout</a>
<s:if test="hasActionMessages()"> <div class="welcome"><s:actionmessage /> </div> </s:if>
<h4>Hello : <%=session.getAttribute("loggedInUser").toString()%>
Login time : <%=new Date()%></h4>
</div>